package com.cgwx.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.sql.Timestamp;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("fs_personal_recycle_bin")
@ApiModel(value="PersonalRecycleBin对象", description="")
public class PersonalRecycleBin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "entity_id", type = IdType.AUTO)
    private String entityId;

    private String entityName;

    private String ownerAccount;

    private String ownerName;

    private String parentId;

    private String fileOrFolder;

    private String fileId;

    private String fileUrl;

    private String versionId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp deleteTime;

    private String type;

    private String entityRoom;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp updateTime;

    private String parentPath;

    private String parentPathname;

    private String tag;

    private String deleteEntirely;

    private float fileSize;

    private String deleteAccount;

    private String column;

    private String sort;

    @Override
    public String toString() {
        return "PersonalRecycleBin{" +
                "entityId='" + entityId + '\'' +
                ", entityName='" + entityName + '\'' +
                ", ownerAccount='" + ownerAccount + '\'' +
                ", ownerName='" + ownerName + '\'' +
                ", parentId='" + parentId + '\'' +
                ", fileOrFolder='" + fileOrFolder + '\'' +
                ", fileId='" + fileId + '\'' +
                ", fileUrl='" + fileUrl + '\'' +
                ", versionId='" + versionId + '\'' +
                ", deleteTime=" + deleteTime +
                ", type='" + type + '\'' +
                ", entityRoom='" + entityRoom + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", parentPath='" + parentPath + '\'' +
                ", parentPathname='" + parentPathname + '\'' +
                ", tag='" + tag + '\'' +
                ", deleteEntirely='" + deleteEntirely + '\'' +
                ", fileSize=" + fileSize +
                ", deleteAccount='" + deleteAccount + '\'' +
                ", column='" + column + '\'' +
                ", sort='" + sort + '\'' +
                '}';
    }

    public float getFileSize() {
        return fileSize;
    }

    public void setFileSize(float fileSize) {
        this.fileSize = fileSize;
    }

    public String getDeleteEntirely() {
        return deleteEntirely;
    }

    public void setDeleteEntirely(String deleteEntirely) {
        this.deleteEntirely = deleteEntirely;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getEntityId() {
        return entityId;
    }

    public void setEntityId(String entityId) {
        this.entityId = entityId;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getOwnerAccount() {
        return ownerAccount;
    }

    public void setOwnerAccount(String ownerAccount) {
        this.ownerAccount = ownerAccount;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getFileOrFolder() {
        return fileOrFolder;
    }

    public void setFileOrFolder(String fileOrFolder) {
        this.fileOrFolder = fileOrFolder;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public Timestamp getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Timestamp deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getEntityRoom() {
        return entityRoom;
    }

    public void setEntityRoom(String entityRoom) {
        this.entityRoom = entityRoom;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getParentPath() {
        return parentPath;
    }

    public void setParentPath(String parentPath) {
        this.parentPath = parentPath;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getParentPathname() {
        return parentPathname;
    }

    public void setParentPathname(String parentPathname) {
        this.parentPathname = parentPathname;
    }

    public String getDeleteAccount() {
        return deleteAccount;
    }

    public void setDeleteAccount(String deleteAccount) {
        this.deleteAccount = deleteAccount;
    }
}
